package com.isky.visual.util;

import com.isky.visual.user.entity.User;
import org.springframework.core.NamedThreadLocal;

/**
 * @author wenjs
 */
public class LocalSqlMetaData {
    private static final ThreadLocal<String> sqlMetaData = new NamedThreadLocal("Local Sql MetaData");

    public static String getLocalSqlMetaData(){
        return sqlMetaData.get();
    }
    public static void setLocalSqlMetaData(String metaData){
        sqlMetaData.set(metaData);
    }
}
